<div class="form-group clearfix">
  <div class="form-inline pull-left">
    <label >
      <span>推客姓名：</span>
    </label>
    <input type="text" class="form-control" name="realname" [(ngModel)]="realnameShow" placeholder="请输入推客姓名" (keydown)="keyDown($event)">
    <label>
      <span>手机号：</span>
    </label>
    <input type="text" class="form-control" name="mobile" [(ngModel)]="mobileShow" placeholder="请输入手机号" (keydown)="keyDown($event)">
    <label>
      <span>支付宝账号：</span>
    </label>
    <input type="text" class="form-control" name="alipayAccount" [(ngModel)]="alipayAccountShow" placeholder="请输入支付宝账号" (keydown)="keyDown($event)">
  </div>
  <div class="form-inline pull-right">
    <button class="btn btn-default" (click)="search();">搜索</button>
    <button class="btn btn-default" (click)="reset();">重置</button>
    <a class="btn btn-default" [href]="getDownUrl()" target="_blank">导出数据</a>
  </div>
</div>
<div class="table-responsive">
  <nz-spin [nzTip]="'正在读取审核列表...'" [nzSpinning]="_isSpinning" [nzSize]="'large'" class="admin-spin">
    <table class="table">
      <thead>
      <tr>
        <th style="width:200px;">用户ID</th>
        <th style="width:200px;">推客姓名</th>
        <th style="width:200px;">手机号</th>
        <th style="width:200px;">支付宝账户</th>
        <th style="width:200px;">最近提现时间</th>
        <th style="width:200px;">提现到账时间</th>
        <th style="width:400px;">提现积分</th>
      </tr>
      </thead>
      <tbody>
      <tr *ngFor="let item of withDrawList">
        <td>{{ item.id }}</td>
        <td>{{ item.realname }}</td>
        <td>{{ item.mobile}}</td>
        <td>{{ item.third_bind_info?item.third_bind_info.ali.ali_account:"无" }}</td>
        <td>{{ item.created_at}}</td>
        <td>{{ item.payment_time }}</td>
        <td>
          {{ item.change_point }}
        </td>
      </tr>
      </tbody>
    </table>
  </nz-spin>
  <div class="text-center">
    <pagination (pageChanged)="pageChanged($event)" [totalItems]="total" [(ngModel)]="page"
                [itemsPerPage]="pageSize"
                [maxSize]="10"
                previousText="&lsaquo;" nextText="&rsaquo;" firstText="&laquo;" lastText="&raquo;"
                [boundaryLinks]="true" class="pagination-sm">
    </pagination>
  </div>
</div>
<!--<app-notification [type]="type" [message]="message" [isShow]="isShow"-->
                  <!--(promptIsShow)="isShow = $event;"></app-notification>-->

<!--<router-outlet></router-outlet>-->
